package com.aspose.cells;

final class zkl {
   public static float a = 0.3F;
   public static float b = 0.5F;

   public static Color a(Color var0, float var1) {
      if (var1 == 0.0F) {
         return var0;
      } else {
         float var2 = (float)(var0.getR() & 255);
         float var3 = (float)(var0.getG() & 255);
         float var4 = (float)(var0.getB() & 255);
         if (var1 < 0.0F) {
            ++var1;
            var2 *= var1;
            var3 *= var1;
            var4 *= var1;
         } else {
            var2 += (255.0F - var2) * var1;
            var3 += (255.0F - var3) * var1;
            var4 += (255.0F - var4) * var1;
         }

         return Color.fromArgb(var0.getA() & 255, (int)var2, (int)var3, (int)var4);
      }
   }
}
